package com.ocean.security.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 过滤放行URL
 *
 * @author zhang
 * @since 2023/11/23
 */
@Component
@ConfigurationProperties(prefix = "spring.security.matchers")
public class MatchersProperties {

    private List<String> allow;

    public List<String> getAllow() {
        return allow;
    }

    public void setAllow(List<String> allow) {
        this.allow = allow;
    }
}
